import { Student } from "./student";
import { Goods } from "./goods";
import { Project } from "./project";

export class Donor {
    constructor() {
      this._id = ""; // 唯一id
      this.donorName = ""; // 捐款人名字
      this.gender="";  //捐款人姓名
      this.birthday="";  //捐款人生日
      this.address="";   //捐款人的地址
      this.credit=0;     //捐款人爱心值
      this.times=0;     //捐款人捐款总次数
      this.totalDonation=0;         //捐款人捐款总金额
      this.students=Student[5];   //捐助者捐助的儿童列表
      this.goods=Goods[5];      //捐助者捐助的物品列表
      this.projects=Project[5];      //捐助者捐助的项目列表
    }
}




